package com.lagou.rpc.consumer.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取服务端ip和端口
 *
 * @Author: zhangzhiwei
 * @Date: 2022/2/5 23:04
 */
@Data
@Component
@ConfigurationProperties(prefix = "provider")
public class ServerIpPortProperties {

    private String ipPortList;

}
